package com.zhang.sequencegenerate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhang.sequencegenerate.entity.SequenceRule;
import com.zhang.sequencegenerate.enums.ModuleEnum;

/**
 * @Description
 * @Author Mr.Zhang
 * @Date 2025/5/24 23:47
 * @Version 1.0
 */
public interface SequenceRuleService extends IService<SequenceRule> {

    /**
     * 根据枚举条件获取序列规则
     *
     * @param moduleEnum 模块枚举
     * @return 序列规则
     */
    SequenceRule getByModuleEnum(ModuleEnum moduleEnum);
}
